import request from '@/utils/request'
import {appConfig} from '../../config/app'

let service = appConfig.microServModules.mall + 'api/shop/'

// 店铺信息-查询
export const getShop = data => request(`${service}getShop`, {method: 'get', data}),

// 保存店铺信息
saveShop = data => request(`${service}saveShop`, {method: 'post', data}), 

// 查询店铺公告列表-查询
qryShopBulletinPage = data => request(`${service}qryShopBulletinPage`, {method: 'post', data}),

// 公告详情-查询
getShopBulletinById = data => request(`${service}getShopBulletinById`, {method: 'get', data}),

// 保存公告信息
saveShopBulletin = data => request(`${service}saveShopBulletin`, {method: 'post', data});